using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;

namespace DOTS.DOD.LESSON4
{
    readonly partial struct WaveCubeAspect : IAspect
    {
        private readonly RefRW<LocalTransform> mLocalTransform;

        public void SetPos(float3 pos)
        {
            mLocalTransform.ValueRW.Position = pos;
        }
    }
}